Use smart pointers over xmalloc and manual life management (#833)
authorGPSBabel <12013583+GPSBabelDeveloper@users.noreply.github.com>
Sun, 6 Feb 2022 22:24:56 +0000 (16:24 -0600)
committerGitHub <noreply@github.com>
Sun, 6 Feb 2022 22:24:56 +0000 (16:24 -0600)
commitd294054c63659638d5c874f01fe2df22a6e99cf5
tree3d3bb01beb57f6210fc4eecb5829e7a6b7b517cc
parent188a3dc1c0645c4dac068199223e80504cad0ef8
Use smart pointers over xmalloc and manual life management (#833)

* Use reference counted pointers instead of managing our own.
Fixes a leak when using debug printing.
garmin_gpi.cc